<?php

namespace App\Models\System;

use App\Models\BaseModel;
use App\Models\Traits\KfSoftDeletes;
use DateTimeInterface;

class SystemNotifyCenterLogsModel extends BaseModel
{
    use KfSoftDeletes;

    protected $table = 'system_notify_center_logs';

    protected $fillable = [
        'notifyCenterId',
        'content',
        'title',
        'createdAt',
        'createdByUid',
        'createdBy',
        'updatedAt',
        'updatedByUid',
        'updatedBy',
    ];

    protected function serializeDate(DateTimeInterface $date)
    {
        return $date->format("Y-m-d H:i:s");
    }

}
